package com.hzp.micromall.order.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzp.micromall.order.dto.OmsOrderReturnApplyResult;
import com.hzp.micromall.order.dto.OmsReturnApplyQueryParam;
import com.hzp.micromall.order.entity.OmsOrderReturnApply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author houzipeng
 * @Date 2022/2/28 22:03
 * @Version 1.0
 */
@Mapper
public interface OmsOrderReturnApplyDao extends BaseMapper<OmsOrderReturnApply> {
    /**
     * 查询申请列表
     * @param page
     * @param queryParam
     * @return
     */
    Page<OmsOrderReturnApply> getPage(@Param("page") Page<OmsOrderReturnApply> page, @Param("queryParam") OmsReturnApplyQueryParam queryParam);

    /**
     * 获取申请详情
     */
    OmsOrderReturnApplyResult getDetail(@Param("id")Long id);
}
